package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 权限表,相当于菜单表
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 权限名称
     */
    private String menuName;

    /**
     * 父id
     */
    private Integer menuParentId;

    /**
     * 权限等级
     */
    private String menuLevel;

    private String menuApiService;

    private String menuApiAction;

    private String menuApiPath;

    private Integer menuApiOrder;


    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenuParentId() {
        return menuParentId;
    }

    public void setMenuParentId(Integer menuParentId) {
        this.menuParentId = menuParentId;
    }

    public String getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(String menuLevel) {
        this.menuLevel = menuLevel;
    }

    public String getMenuApiService() {
        return menuApiService;
    }

    public void setMenuApiService(String menuApiService) {
        this.menuApiService = menuApiService;
    }

    public String getMenuApiAction() {
        return menuApiAction;
    }

    public void setMenuApiAction(String menuApiAction) {
        this.menuApiAction = menuApiAction;
    }

    public String getMenuApiPath() {
        return menuApiPath;
    }

    public void setMenuApiPath(String menuApiPath) {
        this.menuApiPath = menuApiPath;
    }

    public Integer getMenuApiOrder() {
        return menuApiOrder;
    }

    public void setMenuApiOrder(Integer menuApiOrder) {
        this.menuApiOrder = menuApiOrder;
    }

    @Override
    public String toString() {
        return "SysMenu{" +
        "menuId=" + menuId +
        ", menuName=" + menuName +
        ", menuParentId=" + menuParentId +
        ", menuLevel=" + menuLevel +
        ", menuApiService=" + menuApiService +
        ", menuApiAction=" + menuApiAction +
        ", menuApiPath=" + menuApiPath +
        ", menuApiOrder=" + menuApiOrder +
        "}";
    }
}
